﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace NearForums.Configuration
{
	public class AppSettingsElement : ConfigurationElement
	{
		protected override void PostDeserialize()
		{

		}

		public AppSettingsElement()
		{
			
		}

        private string _dataPath;
        public string DataPath
        {
            get
            {
                if (_dataPath == null)
                {
                    _dataPath = ConfigurationManager.AppSettings["DataPath"];
                }

                return _dataPath;
            }
            set
            {
                _dataPath = value;
            }
        }
		
	}
}
